package org.inspursc.s0517.health.evaluation.service;

import org.inspursc.s0517.health.evaluation.dto.HealthResultSectionCountDTO;
import org.inspursc.s0517.health.evaluation.dto.OrganizationCountDTO;
import org.inspursc.s0517.health.evaluation.dto.TwoLevelCategoryDTO;

import java.util.List;

/**
 * @author yuchu
 */
public interface StatisticsService {

    /**
     * 机构统计服务
     * @return
     */
    List<OrganizationCountDTO> getOrganizationCount();
    List<OrganizationCountDTO> getOneOrganizationCount(Integer orgId);

    /**
     * 获取健康报告的区间分值统计
     * @return
     */
    List<HealthResultSectionCountDTO> getHeathResultCount();
    List<HealthResultSectionCountDTO> getHeathResultCountByOrg(Integer orgId);

    /**
     * 获取2级维度的平均分
     * @return
     */
    List<TwoLevelCategoryDTO> getTwoLevelCategoryAvg();
    List<TwoLevelCategoryDTO> getTwoLevelCategoryAvgByOrg(Integer orgId);
}
